import user from '@/components/sys/user/user'
import Role from '@/components/sys/role/Role'
import Permission from '@/components/sys/permission/Permission1'

let router = {
  path: '/system',
  name: 'system',
  meta: {
    icon: 'ios-bug',
    title: '系统管理'
  },
  // access: ['pandaf:coupon:view'],
  // showAlways: true
  children: [
    {
      path: '/user-list',
      name: 'user-list',
      meta: {
        icon: 'ios-book',
        title: '用户管理'
        // access: ['pandaf:coupon:view']
      },
      component: user
    },{
      path: '/role-list',
      name: 'role-list',
      meta: {
        icon: 'ios-book',
        title: '角色管理'
        // access: ['pandaf:coupon:view']
      },
      component: Role
    },{
      path: '/permission-list',
      name: 'permission-list',
      meta: {
        icon: 'ios-book',
        title: '权限管理'
        // access: ['pandaf:coupon:view']
      },
      component: Permission
    }
  ]
}

export default router
